home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / game / role / ldmud-3.2-bin.lha / mud / doc / efun / binary_message < prev    next >
Text File  |  2001-04-06  |  1KB  |  33 lines

  1. SYNOPSIS
  2.         int binary_message(int *|string message, int flags)
  3.  
  4. DESCRIPTION
  5.         Flush output and send output directly with write WITHOUT IAC QUOTING.
  6.         The message may contain zeroes if given as int *.
  7.         The messages goes to this_object(), but only if interactive.
  8.         return value: number of characters actually written.
  9.         Any 'allowed charset' setting is ignored.
  10.  
  11.         Flag settings are interpreted bitwise and may be ored
  12.         together:
  13.  
  14.           Bit 0 (value 1): when set, add_message() is used instead of
  15.             write(). Thus no previous flushing of the buffer is
  16.             needed, but the output is not immediate, nor can the
  17.             number of bytes actually sent be determined - the return
  18.             value is undefined.
  19.           Bit 1 (value 2): The buffer is flushed _after_ adding the
  20.             message. Useful only in conjunction with Bit 0.
  21.  
  22.         The idea behind the flag settings is that sending command
  23.         codes for colours and other things needs to bypass the allowed
  24.         charset filters, but isn't important enough to waste bandwith
  25.         on a synchronous trasmission.
  26.  
  27. HISTORY
  28.         Introduced in 3.2.1@40.
  29.         Argument 'flags' introduced in 3.2.1@60.
  30.  
  31. SEE ALSO
  32.         set_connection_charset(E)
  33.